package com.zb.mobile;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author WEN
 * @Date 2023/11/30 0030
 **/
@Data
@ApiModel("服务商结单对象")
public class NetworkMobileStatementVo {
    @ApiModelProperty(value = "结单核销码")
    private String statementWriteOffCode;

    @Length(max = 200, message = "申请备注说明长度限制 200 个字符以内")
    @ApiModelProperty(value = "申请备注说明")
    private String remark;

    @NotNull(message = "工单结单模板不能为空")
    @NotEmpty(message = "工单结单模板不能为空")
    @ApiModelProperty(value = "工单结单模板对象", required = true)
    private List<NetworkMobileStatementTemplateVo> templateVos;
}
